<div id="main-content">
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-block">
          <?php
          if($message == 'filed'){
          ?>
          <div class="alert alert-error fade in">
            <button data-dismiss="alert" class="close" type="button">×</button>
            <strong>Filed!</strong> Fail to save data.
          </div>
          <?php
          }
          if($message == 'sukses'){
          ?>
          <div class="alert alert-success fade in">
            <button data-dismiss="alert" class="close" type="button">×</button>
            <strong>Success!</strong> Now you have new user.
          </div>
          <?php
          }
          ?>
          <div class="widget-head">
            <h5><?=$title_table?></h5>
            <div class="widget-control pull-right">
              <a href="#" data-toggle="dropdown" class="btn dropdown-toggle"><i class="icon-cog"></i><b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="<?=  site_url("outlet/tambahan/import-file/".$id_actifity_report) ?>"><i class="icon-plus"></i> Import File</a></li>
              </ul>
            </div>
          </div>
         
          <div class="widget-content">
            <div class="widget-box">
               
              <table class="data-tbl-boxy table">
                <thead>
                  <tr>
                    <th>Report</th>
                    <th>File</th>
                    <th>Action</th>
                  </tr>
                </thead>
                <tbody>
                  <?php
                  if(is_array($data)){
                    $no = 1;
                    foreach ($data as $key => $value) {
                      print "
                  <tr>
                    <td>{$value->activity}</td>
                    <td><a href='".base_url()."/files/activity/{$value->document}'>{$value->document}</a></td>
                    <td><a href='".site_url("outlet/tambahan/execution-import/".$value->id_outlet_file_import)."'>Import</a></td>
                  </tr>";
                          $no++;
                    }
                  }
                  ?>
                </tbody>
               
              </table>
             
            </div>
          </div>
              
        </div>
      </div>
    </div>
  </div>
</div>